package com.my.swas.sso.module.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my.swas.sso.module.cms.entity.CmsCategory;
import com.my.swas.sso.module.cms.vo.CategoryZTreeVo;
import com.my.swas.sso.module.cms.vo.LayTreeVo;

import java.util.List;

/**
 * @Description:
 * @author: :MaYong
 */
public interface CmsCategoryService extends IService<CmsCategory>{
    /**
     * 组装layUI树形组件数据
     * @return
     */
    List<LayTreeVo> buildLayTree();

    List<CmsCategory> getCurrentCategory(Long appId);

    List<CategoryZTreeVo> buildZTree(Long appId);
}
